package com.boot.dao;

import com.boot.bean.Student;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface StudentMapper {
    @Select("select * from student where id=#{id}")
    Student findUser(Integer id);

    @Select("select * from student where tid=#{tid}")
    Student tid(Integer id);
}

